package NGUYENTHECUONG_DEMO;

import java.util.Scanner;

public class Bai2View {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		 System.out.println("Nhap so  a:");
	        Scanner sc = new Scanner(System.in);
	        double a = sc.nextDouble();
	        
	        System.out.println("Nhap so b:");       
	        double b = sc.nextDouble();
	        
	        System.out.println("Mời chọn: 0 - Cộng; 1 - Trừ;2 - Nhân;3 - Chia?");
	        short pheptinh = sc.nextShort();
	
	Bai2Controllers objController = new Bai2Controllers();
	  double KQ = objController.ExecCalculators(a, b, pheptinh);
      System.out.println("Kết quả: "+ KQ);  

	}
}
